<!DOCTYPE html>
<html>
{include file="public/head" /}
<body class="zanpian-body">
<section class="zanpian-content">
<div class="panel-intro">
  <div class="panel-heading">
    <div class="panel-lead"><em>系统信息：</em></div>
  </div>
 <div class="panel-body">               
 <table id="table" class="table table-striped table-bordered table-hover" width="100%">
  <tbody>
                <tr>
                  <td>程序版本： {$Think.config.cms['cms_version']}</td>
                  <td>技术/BUG反馈：{$Think.config.zanpian['zanpian_qq']}</td>
                  <td class="hidden-xs">官方地址： <a href="{$Think.config.zanpian['zanpian_url']}" target="_blank">{$Think.config.zanpian['zanpian_url']}</a></td>
                </tr>                
                <tr>
                  <td>服务器系统：{$Think.PHP_OS}</td>
                  <td>WEB服务器：{php}echo $_SERVER['SERVER_SOFTWARE'];{/php}</td>
                  <td class="hidden-xs"><a href="{:url('phpinfo')}" target="_blank">查看PHPINFO</a></td>
                </tr>
                <tr>
                  <td>安装目录：{$Think.URL_PATH}</td>
                  <td>服务器IP/端口： ({php}echo ' ('.$_SERVER['SERVER_ADDR'].':'.$_SERVER['SERVER_PORT'].')';{/php})</td>
                  <td class="hidden-xs">Thinkphp版本： {$Think.THINK_VERSION}</td>
                </tr>
                <tr>
                  <td>文件上传：{php}echo get_cfg_var("file_uploads") ? get_cfg_var("upload_max_filesize") : $error;{/php}</td>
                  <td>磁盘空间：{php}echo floor(disk_free_space(ROOT_PATH) / (1024*1024)).'M'{/php}</td>
                  <td class="hidden-xs">GD图形库：{php}$gd = @gd_info(); echo $gd['GD Version'] ? $gd['GD Version'] : $error;{/php}</td>
                </tr>
                  </tbody>
                  </table>
           
 <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                   <tbody>
                  <tr>
                  <td align="center">函数/模块</td>
                  <td align="center">所需状态</td>
                  <td align="center">当前状态</td>
                </tr>                
                {volist name="func" id="item"}
                  <tr>
                  <td align="center">{$item[0]}()</td>
                  <td align="center">支持</td>
                  <td align="center">{$item[1]}</td>
                </tr>
                  {/volist}
                                
                  <tr>
                  <td align="center">目录/文件</td>
                  <td align="center">所需状态</td>
                  <td align="center">当前状态</td>
                </tr>
                {volist name="dirfile" id="item"}
                 <tr>
                  <td align="center">{$item[4]}</td>
                  <td align="center">{$item[1]}</td>
                  <td align="center">{$item[2]}</td>
                </tr>
 {/volist}
                   </tbody>
             </table>

    </div>
</div>
                    </section>
{include file="public/footer" /}
</body>
</html>
